﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Yhb.Config
{
    public class PayConfig
    {
        // 分账通生产服务器地址
        public static readonly string API_BASE_URL = "http://fz.test.com/merchant-api/";

        /// <summary>
        /// 下单
        /// </summary>
        public static readonly string ORDER_CREATE = "v1/order/create";

        /// <summary>
        /// 查询订单
        /// </summary>
        public static readonly string ORDER_QUERY = "v1/order/query";

        /// <summary>
        /// 退款申请
        /// </summary>
        public static readonly string REFUND_APPLY = "v1/order/refund/apply";

        /// <summary>
        /// 退款查询
        /// </summary>
        public static readonly string REFUND_QUERY = "v1/order/refund/query";

        /// <summary>
        /// 交易明细查询
        /// </summary>
        public static readonly string TRADE_DETAIL_QUERY = "v1/splitpay/getTradeOrderDetailPageList";

        /// <summary>
        /// 编码集
        /// </summary>
        public static readonly string CHARSET = "UTF-8";

        public static readonly string APPLICATION_JSON = "application/json";
        /// <summary>
        /// 签名后数据的key
         /// </summary>
        public static readonly string SIGN = "sign";

        /// <summary>
        /// 返回数据的key
        /// </summary>
        public static readonly string RESDATA = "res_data";

        /// <summary>
        /// SDK版本
        /// </summary>
        public static readonly string SDK_VERSION = "1.0.0";
    }
}
